package com.kaishengit.service;

import org.springframework.beans.factory.annotation.Autowired;

import com.kaishengit.dao.DocumentDao;
import com.kaishengit.dao.FileDao;
import com.kaishengit.dao.GoalDao;
import com.kaishengit.dao.IdeaDao;
import com.kaishengit.dao.LinkRecordDao;
import com.kaishengit.dao.LinkmanDao;
import com.kaishengit.dao.TaskDao;
import com.kaishengit.dao.ProjectDao;
import com.kaishengit.dao.TrendDao;
import com.kaishengit.dao.UserDao;

public class BaseService {

	public static int ADMIN = 0;
	public static int PM = 1;
	public static int STAFF = 2;
	public static int FREE = 3;
	private UserDao userDao;
	private ProjectDao projectDao;
	private FileDao fileDao;
	private IdeaDao ideaDao;
	private LinkmanDao linkmanDao;
	private LinkRecordDao linkRecordDao;
	private DocumentDao documentDao;
	private GoalDao goalDao;
	private TaskDao taskDao;
	private TrendDao trendDao;
	
	public UserDao getUserDao() {
		return userDao;
	}

	public ProjectDao getProjectDao() {
		return projectDao;
	}

	public FileDao getFileDao() {
		return fileDao;
	}

	public IdeaDao getIdeaDao() {
		return ideaDao;
	}

	public LinkmanDao getLinkmanDao() {
		return linkmanDao;
	}

	public LinkRecordDao getLinkRecordDao() {
		return linkRecordDao;
	}

	public DocumentDao getDocumentDao() {
		return documentDao;
	}


	public GoalDao getGoalDao() {
		return goalDao;
	}

	public TaskDao getTaskDao() {
		return taskDao;
	}
	public TrendDao getTrendDao() {
		return trendDao;
	}


	@Autowired
	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}

	@Autowired
	public void setProjectDao(ProjectDao projectDao) {
		this.projectDao = projectDao;
	}


	@Autowired
	public void setFileDao(FileDao fileDao) {
		this.fileDao = fileDao;
	}

	@Autowired
	public void setIdeaDao(IdeaDao ideaDao) {
		this.ideaDao = ideaDao;
	}

	
	@Autowired
	public void setLinkmanDao(LinkmanDao linkmanDao) {
		this.linkmanDao = linkmanDao;
	}

	@Autowired
	public void setLinkRecordDao(LinkRecordDao linkRecordDao) {
		this.linkRecordDao = linkRecordDao;
	}

	@Autowired
	public void setDocumentDao(DocumentDao documentDao) {
		this.documentDao = documentDao;
	}


	@Autowired
	public void setGoalDao(GoalDao goalDao) {
		this.goalDao = goalDao;
	}

	@Autowired
	public void setTaskDao(TaskDao taskDao) {
		this.taskDao = taskDao;
	}

}
